const getters = {
  // 系统配置
  appTheme: state => state.config.appTheme,
  oemMap: state => state.config.oemMap,
  paymentKeyOptions: state => state.config.paymentKeyOptions,
  paymentOptions: state => state.config.paymentOptions,
  payChannelTypeKeyOptions: state => state.config.payChannelTypeKeyOptions,
  authorizeApi: state => state.config.authorizeApi,
  // 用户信息
  token: state => state.user.token,
  loginInfo: state => state.user.loginInfo,
  agentFlow: state => state.user.agentFlow,
  userInfo: state => state.user.userInfo,
  spInfo: state => state.user.spInfo,
  fileBaseUrl: state => state.user.fileBaseUrl,
  userLoaded: state => state.user.loaded,
  mchListOptions: state => state.user.mchListOptions,
  userListOptions: state => state.user.userListOptions,
  userBanBtnList: state => state.user.userBanBtnList,
  authentication: state => state.user.authentication,
  // 菜单信息
  sidebarMenus: state => state.menus.sidebarMenus,
  activeSidebarMenusCode: state => state.menus.activeSidebarMenusCode,
  activeSidebarMchId: state => state.menus.activeSidebarMchId,
  activeSidebarMchInfo: state => state.menus.activeSidebarMchInfo,
  activeSidebarSpId: state => state.menus.activeSidebarSpId,
  activeSidebarSpInfo: state => state.menus.activeSidebarSpInfo

  // sidebar: state => state.app.sidebar,
  // size: state => state.app.size,
  // device: state => state.app.device,
  // visitedViews: state => state.tagsView.visitedViews,
  // cachedViews: state => state.tagsView.cachedViews,
  // token: state => state.user.token,
  // avatar: state => state.user.avatar,
  // name: state => state.user.name,
  // introduction: state => state.user.introduction,
  // roles: state => state.user.roles,
  // permission_routes: state => state.permission.routes,
  // errorLogs: state => state.errorLog.logs
}
export default getters
